/*
 * Executor.h
 *
 *  Created on: 23/03/2011
 *      Author: luis
 */

#ifndef EXECUTOR_H_
#define EXECUTOR_H_

typedef struct {
	int firstMode;
	int sndMode;
	char * argument1;
	char * argument2;
}Executor;

void executor_create(Executor * executor);

void executor_change_first_mode(Executor * executor, int mode);

void executor_change_second_mode(Executor * executor, int mode);

int executor_get_mode(Executor * executor);

void executor_set_first_argument(Executor * executor, char * argument);

void executor_set_second_argument(Executor * executor, char * argument);

void executor_run(Executor * executor);

void executor_delete(Executor * executor);

#endif /* EXECUTOR_H_ */
